package org.shiwen.week9_2;

//import org.shiwen.week9.ClassProperty;
import org.shiwen.week9.InterfaceMethod;
import org.shiwen.week9.InterfaceProperty;

class ClassMethod implements InterfaceMethod {

    //因为继承了接口，所以必须实现接口中的抽象方法，如果不实现，会报错。而且在另一个包内调用了这个接口，所以他的访问权限是public
    @Override
    public void show() {
        System.out.println(InterfaceProperty.a);
        System.out.println("show");
    }


}